﻿using JE.MicroMVVM.Example.Contracts;
using JE.MicroMVVM.Example.DataModels;
using MicroMVVM;

namespace JE.MicroMVVM.Example.Services.Runtime
{
    [ExportService(ServiceType.Runtime, typeof (IServiceOne))]
    public class ServiceOneRuntime : IServiceOne
    {
        public DataModelOne GetModel()
        {
            return new DataModelOne()
                       {
                           Title = "This is runtime service one DataModelOne"
                       };
        }
    }
}